<template>
	<view :style="{ height: systemBarHeight + 'px' }">
		<view style="font-size: 36rpx;padding-left: 20rpx;"
			:style="{lineHeight: (systemBarHeight-menuHeight)+'px','paddingTop':menuHeight+'px'}">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				systemBarHeight: '',
				menuHeight: ''
			}
		},
		mounted() {
			this.systemBarHeight = uni.getStorageSync('systemBarHeight')
			this.menuHeight = uni.getStorageSync('menuHeight')
			console.log(this.systemBarHeight, this.menuHeight);
		}
	}
</script>

<style>
</style>